<?php

class template_user_control_panel_reset_password extends theme
{
	
	protected function head()
	{
	?>
<link type="text/css" rel="stylesheet" href="apps/user/templates/control_panel/css/reset_password.css">
<script type="text/javascript" language="javascript" src="apps/user/templates/control_panel/js/reset_password.js"></script>
	<?php
	}

	protected function center()
	{
		$user = $this->get('user');
		?>
<div class="center-title"><?php echo $this->get_title(); ?></div>
<div class="center-body">
	<?php $this->message(); ?>
	<div id="reset_password-form">
		<form id="form-reset_password">
		<p><label class="item-title">用户名: </label><?php echo $user->username; ?></p>
		<p><label class="item-title">邮箱: </label><?php echo $user->email; ?></p>
		<p><label class="item-title">新密码:<span class="required">*</span> </label><input type="password" name="password" id="password" size="20" maxlength="20"/> </p>
		<p><label class="item-title">确认新密码:<span class="required">*</span> </label><input type="password" name="confirm_password" id="confirm_password" size="20" maxlength="20"/> </p>
		<p><label class="item-title">&nbsp;</label><input type="submit" id="submit" value="保存"/></p>
		</form>
	</div>
	<p id="reset_password-msg"></p>
</div>
		<?php
	}		
		

}
?>